How to add a chart to a form.





In the Form Design view, select the 'Insert' menu and select 'Chart'. Click on the form and follow the steps in the wizard.

    1) If the Database window is not activated, activate the Database window.
    2) Choose the 'Forms' tab in the Database window.
    < Forms tab >
    3) Select the desired form from the list. (The selected form is highlighted.)
    4) Choose the 'Design' button. (The selected form appears in Design view, and the floating Toolbox appears.)
    5) To add a chart that is bound to data in the database, do the following:

      a) Select the 'Insert' menu and select 'Chart'. (The cursor changes to a +.)
      b) Position the mouse pointer on the form to select the location for the chart.
      c) Click the location for the chart. (The wizard dialog box appears.)
      NOTE: The size of the control defaults to a preset size. To create an unbound control of a desired size, click the location for the unbound control, press and hold down the mouse button and drag to the desired size.
      d) Select the desired table or query for the bound chart.
      e) Choose the 'Next' button. (The next step of the wizard appears.)
      f) Select the desired field from the 'Available Fields' list.
      g) Choose the ' > ' button to move the selected field(s) to the list box on the right.
      h) Repeat steps 5)f) and 5)g) for each additional field.
      i) Choose the 'Next' button. (The next step of the wizard appears.)
      j) Choose the desired chart Type. (A description of each chart type appears to the right when selected.)
      k) Choose the 'Next' button. (The next step of the wizard appears.)
      l) Drag-and-drop the field buttons from the right side of the screen to the left to customize the sample chart.
      m) Choose the 'Next' button. (The next step of the wizard appears.)
      n) Select the first form field to link to the chart from the 'Form Fields' drop-down list.
      o) Select the corresponding chart field from the 'Chart Field' drop-down list.
      NOTE: This process links the data (records) in the database to the chart.
      p) Choose the 'Next' button.
      q) Enter a title for the chart in the 'Title' box.
      r) Choose the 'Finish' button. (The chart appears on the form.)

    6) To add an unbound chart to a form, do the following:

      a) To insert an existing chart, do the following:

        1] Choose the 'Unbound Object Frame' button on the Toolbox.
        2] Position the mouse pointer on the form to select the location for the chart.
        3] Click the location for the chart on the form. (The Insert Object dialog box appears.)
        4] Select the 'Create From File' button.
        5] Enter the path and filename in the 'File' box.
        < File box >
        NOTE: Choose the 'Browse...' button to search for a file.
        6] (Optional) Check the 'Link' check box to insert a link to the file.
        NOTE: Any changes made to the object file that was inserted will then be reflected in the database.
        7] Uncheck (clear) the 'Link' check box to insert the file contents as an embedded object.
        NOTE: Any changes made to the object file that was inserted will then NOT be reflected in the database.
        8] Choose 'OK'. (The filename appears in the File box.)
        9] Choose 'OK'. (The chart is inserted on the form.)

      b) To create and insert a new object, do the following:

        1] Choose the 'Unbound Object Frame' button on the Toolbox.
        2] Position the mouse pointer on the form to select the location for the object.
        3] Click the location for the object on the form. (The Insert Object dialog box appears.)
        4] Select the 'Create New' button.
        5] Select the desired object type from the 'Object Type' list box.
        < Object Type >
        6] Choose 'OK'. (The Object Type software application is activated.)
        7] Create the object using the desired application.
        8] Select the 'File' menu and select 'Exit & Return to < form name > : Form'
        (where < form name > is the name of the current form for inserting the object).
        NOTE: Depending on the software application, select the 'File' menu and select 'Exit' may be available.

    7) Select the 'File' menu and select 'Save' to save the form.


Knowledge-Pak Desktop Suite (TM) Edition 5
Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved.



2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.